package com.bdmc.alarm.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdmc.alarm.domain.AlarmRule;
import com.bdmc.alarm.domain.bo.AlarmRuleBo;
import com.bdmc.alarm.domain.vo.AlarmRuleVo;
import com.bdmc.common.core.mybatisplus.core.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 报警规则Mapper接口
 *
 * @author bdmc
 * @date 2022-03-06
 */
public interface AlarmRuleMapper extends BaseMapperPlus<AlarmRule> {


    Page<AlarmRuleVo> mySelectPage(@Param("page") Page<AlarmRule> page, @Param("param") AlarmRuleBo bo);


    List<AlarmRuleVo> mySelectPage(@Param("param") AlarmRuleBo bo);
}
